package com.ruoyi.appointmentRecord.service;

import java.util.List;
import com.ruoyi.appointmentRecord.domain.AppointmentRecord;

/**
 * 预约记录Service接口
 *
 * @author ch
 * @date 2022-07-26
 */
public interface IAppointmentRecordService
{
    /**
     * 查询预约记录
     *
     * @param id 预约记录主键
     * @return 预约记录
     */
    public AppointmentRecord selectAppointmentRecordById(Long id);

    /**
     * 查询预约记录列表
     *
     * @param appointmentRecord 预约记录
     * @return 预约记录集合
     */
    public List<AppointmentRecord> selectAppointmentRecordList(AppointmentRecord appointmentRecord);

    /**
     * 新增预约记录
     *
     * @param appointmentRecord 预约记录
     * @return 结果
     */
    public int insertAppointmentRecord(AppointmentRecord appointmentRecord);

    /**
     * 修改预约记录
     *
     * @param appointmentRecord 预约记录
     * @return 结果
     */
    public int updateAppointmentRecord(AppointmentRecord appointmentRecord);

    /**
     * 批量删除预约记录
     *
     * @param ids 需要删除的预约记录主键集合
     * @return 结果
     */
    public int deleteAppointmentRecordByIds(Long[] ids);

    /**
     * 批量逻辑删除预约记录
     *
     * @param ids 需要删除的预约记录主键集合
     * @return 结果
     */
    public int logicDeleteAppointmentRecord(Long[] ids,String delType,Long delUser);
    /**
     * 删除预约记录信息
     *
     * @param id 预约记录主键
     * @return 结果
     */
    public int deleteAppointmentRecordById(Long id);

    /**
     * 去重查看预约日期
     * @param storeId
     * @param technicianId
     * @return
     */
    public List<String> appointmentDistinct(Long storeId,Long technicianId);
}
